<template>
	<view class="title-warpper m-b-15 p-t-15">
		<text class="title">{{title}}</text>
		<view class="more" @click="More('activity')">更多
		<view class="uni-icon uni-icon-arrowright"  style="color:'#7f7f7f';font-size:16px;" @click="onClick()"></view>
		</view>
	</view>
</template>

<script>
	export default {
		name: 'more-title',
		props: {
			title: String,
			type: String
		}
	}
</script>

<style lang="scss">
	@import '../common/scss/_common.scss';
	@import '../common/css/icon.css';
	


		.title-warpper {
			display: flex;
			justify-content: space-between;
			align-items: center;

			.title {
				line-height: ws(20);
				font-size: ws(20);
				color: $main-color;
			}

			.more {
				font-size: ws(12);
				color: #7f7f7f;
				display: flex;
				align-items: center;
			}
		}
	
</style>
